home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
os20
/
wb
/
unlha.lha
/
UnLha
/
UnLha.Script.man
< prev
next >
Wrap
Text File
|
1992-12-13
|
4KB
|
87 lines
***************** UnLha *****************
This is a simple but effective (for me anyway) way of listing or extracting
.lha files. I was bored, and was fedup with opening a Shell everytime I
wanted to extract or list a lha(ed) archive. So I thought why not make use
of three great programs to make life just that bit easier. So I did.
Don't get all worked up, its only a script file. I don't do programming
for fun, only when its a Uni-project or somebody FORCES it on me. If I get
REALLY bored I might write it again in C and make it a bit more friendly
and make it understand more than just .lha files. But I wouldn't count on
it :-).
This program(?) is fully PD, and you can even change it and call it yours
if you want. I just thought somebody out there might need something like
it. BUT THE (C) RIGHTS STAND ON THE GetFile AND ReqAsk BY Magnus Holmgren.
**************** How it works ****************
OPTION 1:
Its pretty simple to use. All you need to do is put the file some
where (S: is a good place) and tell ToolManager where to find it.
It could be used as a DOCK or APPICON or if you are really brave,
you could use it via shell.
When you place an icon (see Foot Note 1) on it, it asks you if you
want to list the archive or extract it to its default destination
RAM. If you select List, it will open a CON: window and list the
chosen archive and waits for you to close the window. WShell/CNC
users can obviously use the scrollbar to scroll back and see the
beging.
If you selected the extract option, it extracts the archives
contents to RAM, and I made it get rid of all those NASTY/CRAP
.displayme files that annoy the Shit out of me. For some odd
reason it doesn't display them anyway, but they still sit there in
the RAM.
OPTION 2:
If you just click on the APPICON, or the DOCK icon it will use the
wonderful program GetFile to get the archived file and the
extracting destination from you, and the rest is history.
It has a few odd messages that pop up when its finished extracting
or if you didn't select a file etc etc. But basically it the same
as OPTION 1.
Foot Not 1: lha files don't usualy (never really) have icons, so
when I say drag its icon, I really mean use the Window
menu on workbench and select Show all.
**************** Operation and requierments ****************
- It obviously needs KS/WB 2.0 or Higher.
- It needs GetFile and ReqAsk (by Magnus Holmgren) which are included in
this archive.
- And it would help if you had Toolmanager (by Stefan Becker) :-)
- Its looks a lot better if you use ReqChange (again by Magnus) and
Reqtools.library (the newer the better i.e. V 38.1002) by Mr.Nico
"ReqTools" Nico François.
***************** Copyright stuff *****************
ToolManager is copyright Stefan Becker,
ReqChange,ReqAsk,GetFile are copyright Magnus Holmgren,
ReqTools is copyright Nico François,
Lha is copyright Stefan Boberg.
******** Contact me ********
I'm not responsible for any damadge that Unlha.Script does but it shouldn't
really (fingers crossed). Its only a shell-script for gods sake.
Anyway if you have any problems with it, give me a ring and we'll laugh
about it.
Call me on:
Internet: baback@unixa.clp.ac.uk or baback@uk.ac.clp.unixa
(only till the end of June 93)
Hellos to:
Steve Middleton, and Martin W.(Yak) Scott, and every body in
DENS Design (Bjørn Lynne, Andrew Barnabas, Rene Bidstrup)
-EOF-